# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-flask-admin
pkgver=1.5.6
pkgrel=0
pkgdesc="Flask admin interface"
url="https://pypi.python.org/pypi/Flask-Admin"
arch="noarch"
license="BSD-3-Clause"
depends="
	python3
	py3-flask
	py3-wtforms
"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/F/Flask-Admin/Flask-Admin-$pkgver.tar.gz"
builddir="$srcdir"/Flask-Admin-$pkgver

replaces="py-flask-admin" # Backwards compatibility
provides="py-flask-admin=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="4b32d218fe806792cb8f1bd104d9e9ca4a0fdfce1d9c18efed3cebbdbf5d9317ffa5032bc128b40d67066160dbf8265184f1bee013b8ddaac2c515fd9e60a516  Flask-Admin-1.5.6.tar.gz"
